<?php /* Smarty version 2.6.26, created on 2018-07-25 14:31:05
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/member%5Ctemplates/user/index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'import', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/user/index.html', 1, false),array('modifier', 'img_size', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/user/index.html', 16, false),)), $this); ?>
<?php echo $this->_plugins['function']['import'][0][0]->import(array('file' => "index/header.html",'title' => "基本信息"), $this);?>
 
<style type="text/css"> 
.avatar{ width:80px; height:80px; border:1px solid #efefef; float:left;}
.avatar img{ max-height:80px; max-height:80px; float: left;}
.avatar a{ height:20px; line-height:20px; width:80px; text-align:center; margin-top:-20px; background:rgba(51,51,51,0.5); color:#FFFFFF; float:left;}
.avatar:hover a{ display:block; }
</style>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "user/tab.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="lbox">
	<form action="#" method="post">
		<table class="etable"> 
			 <tr>
				<td width="100">头像：</td>
				<td>
					<div class="avatar">
						<img src="<?php if ($this->_tpl_vars['row']['avatar']): ?><?php echo $this->_tpl_vars['__IMG__']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['row']['avatar'])) ? $this->_run_mod_handler('img_size', true, $_tmp, '100x100') : $this->_plugins['modifier']['img_size'][0][0]->img_size($_tmp, '100x100')); ?>
<?php else: ?><?php echo $this->_tpl_vars['__PUBLIC__']; ?>
images/avatar.png<?php endif; ?>"/>
						<a href="?m=user&a=avatar">编辑头像</a>
					</div>
				</td>
			</tr>
			<tr>
				<td>昵称：</td>
				<td><input type="text" name="nick" size="38" id="nick" value="<?php echo $this->_tpl_vars['row']['nick']; ?>
"/></td>
			</tr>
			<tr>
				<td>姓名：</td>
				<td><input type="text" name="name" size="38" id="name" value="<?php echo $this->_tpl_vars['row']['name']; ?>
"/></td>
			</tr>
			<tr>
				<td>性别：</td>
				<td>
					<label class="uq_redio"><input type="radio" name="sex" value="1" <?php if ($this->_tpl_vars['row']['sex'] == '1'): ?>checked="checked"<?php else: ?><?php endif; ?>/>男 </label>
					<label class="uq_redio"><input type="radio" name="sex" value="2" <?php if ($this->_tpl_vars['row']['sex'] == '0'): ?>checked="checked"<?php else: ?><?php endif; ?>/>女 </label> 
				</td>
			</tr> 
			<tr>
				<td>居住地：</td>
				<td><input type="text" name="address" size="38" id="address" value="<?php echo $this->_tpl_vars['row']['address']; ?>
"/></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><input type="submit" name="submit" class="submit" value="保 存"/></td>
			</tr>
		</table>	
	</form> 
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>